// @ts-ignore
/* eslint-disable */
import { OpenApi as request } from "@/utils/request";

/** 此处后端没有提供注释 GET /feign/userAddr/getByAddrId */
export async function getAddrByAddrId(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getAddrByAddrIdParams,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseUserAddressVO>(
    `/barter-user/feign/userAddr/getByAddrId`,
    {
      method: "GET",
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}
